%% measAngle function : Calculates the measured angle value for N and the flip angle. 
% Mathematical derivation of equations can be found in 
% Yarnykh, MRM 57:192-200 (2007).   
%
%% Function Declaration
%
function [ ang ] = measAngle(inputN, inputR)
%% Calculate the cosine of the true flip angles.
%

ang = acos((inputR*inputN-1)/(inputN-inputR));   % Assumes TR1,2 << T1 and 1-TR1,2 ~= 1.

